/*
 * SpringReclaimCommand.cpp
 *
 *  Created on: Nov 20, 2008
 *      Author: Ryan
 */

#include "SpringReclaimCommand.h"

SpringReclaimCommand::SpringReclaimCommand( OOInterface::ConstUnitPtr unit ) :
	OOInterface::ReclaimCommand( unit )
{
}

SpringReclaimCommand::~SpringReclaimCommand()
{
}

::Command* SpringReclaimCommand::getCommand() const
{
	::Command* cmd = new ::Command;
	cmd->id = CMD_RECLAIM;

	cmd->params.push_back( getReclaimUnit()->getID() );

	return cmd;
}
